package com.mge.humitureproj.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.mge.humitureproj.dao.HumitureRecordDao;
import com.mge.humitureproj.entity.HumitureRecord;
import com.mge.humitureproj.service.HumitureRecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 温湿度记录表(HumitureRecord)表服务实现类
 *
 * @author makejava
 * @since 2025-05-22 11:43:40
 */
@Service("humitureRecordService")
public class HumitureRecordServiceImpl extends ServiceImpl<HumitureRecordDao, HumitureRecord> implements HumitureRecordService {

    @Autowired
    HumitureRecordDao humitureRecordDao;

    @Override
    public int insertBatch(List<HumitureRecord> dataList) {
        return  humitureRecordDao.insertBatch(dataList);
    }
}

